﻿namespace homework1

{

    internal class Program

    {

        static void Main(string[] args)

        {

            double height = 100;

            double totalDistance = 100;

            for (int i = 2; i <= 10; i++)

            {

                height /= 2;

                totalDistance += 2 * height;

            }

            Console.WriteLine($"第10次落地时共经过：{totalDistance} 米");

            Console.WriteLine($"第10次反弹高度：{height / 2} 米");

        }

    }

}

​